package java8_28.oop.Javatest_2;

public class Draw_test {
    public static void main(String[] args) {
        Draw d=new Draw("某某");
        Figure f1=new Delta(3.4,4.5,5.6);
        Figure f2=new Oblong(3.0,2.5);
        Figure f3=new Circle(2.5);
        d.draw(f1);
        System.out.println(">>>>>>>>>>>");
        f2.show();
        d.draw(f2);
        System.out.println(">>>>>>>>>>");
        f3.show();
        d.draw(f3);
    }
}
